package org.jackysoft.bean.define;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
import org.springframework.core.Ordered;


public class ActionBeanPostProcessor implements BeanPostProcessor, Ordered,
		BeanFactoryPostProcessor {

	private static final Log logger = LogFactory.getLog(ActionBeanPostProcessor.class);

	@Override
	public Object postProcessAfterInitialization(Object bean, String beanName)
			throws BeansException {	
		return bean;
	}

	@Override
	public int getOrder() {
		return 0;
	}

	@Override
	public void postProcessBeanFactory(
			ConfigurableListableBeanFactory beanFactory) throws BeansException {
		
	}

	@Override
	public Object postProcessBeforeInitialization(Object bean, String beanName)
			throws BeansException {
		return bean;
	}

}
